﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Hero
    {
        private string heroName;
        private string hreoInfo;
        private string power;
        private int attack;
        private int defense;
        private int speed;

        public Hero(string heroName, string heroInfo, string power, int attack, int defense, int speed)
        {
            this.heroName = heroName;
            HeroInfo = heroInfo;
            this.power = power;
            this.attack = attack;
            this.defense = defense;
            this.speed = speed;
        }

        public string HeroName
        {
            get { return this.heroName; }
            set { this.heroName = value; }
        }
        public string HeroInfo
        {
            get { return this.hreoInfo; }
            set { this.hreoInfo = value; }
        }
        public string Power
        {
            get { return this.power; }
            set { this.power = value; }
        }
        public int Attack
        {
            get { return this.attack; }
            set { this.attack = value; }
        }
        public int Defense
        {
            get { return this.defense; }
            set { this.defense = value; }
        }
        public int Speed
        {
            get { return this.speed; }
            set { this.speed = value; }
        }
        public void PriantMsg()
        {
            Console.WriteLine(this.heroName + "" + this.hreoInfo + "" + this.power + "" + this.attack + "" +
                this.defense + "" + this.speed);
        }
    }
}